package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.GoodsSpecValue;
import com.weixing.mall.provider.model.vo.GoodsSpecValueVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品模块-商品规格值关联表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface GoodsSpecValueMapper extends BaseMapper<GoodsSpecValue> {
    void deleteByGoodsId(Long goodsId);

    List<GoodsSpecValueVo> selectBySpecIdGoodsId(@Param(value = "goodsId") Long goodsId, @Param(value = "specId") Long specId);
}
